<script setup lang="ts">
type Aaa = {
  name: string
  age: number
  address: string
  gender: 0 | 1
}
type Bbb = {
  name: string
  age: number
}

// Pick<A,B>  从A类型中提取b（作为key）的类型
// Omit<A,B>  从A类型中排除b(作为key)的其它类型
type Bbb2 = Pick<Aaa, 'name' | 'age'>
type Bbb3 = Omit<Aaa, 'address' | 'gender'>
</script>

<template>
  <div class="play-page">play</div>
</template>

<style lang="scss" scoped></style>
